/** @author KoopaXross (Andreas Paulsen)
 */

package no.hib.dat102.test;

public class CDtest {

	public static boolean isValidNumber(int number){
		if(number>-1){
			return true;
		}else{
			return false;
		}
	}
	
	public static boolean isValidArtist(String artist){
		return artist.matches(".+");
	}
	
	public static boolean isValidTitle(String title){
		return title.matches(".+");
	}
	
	public static boolean isValidYear(int year){
		if(year>1975){
			return true;
		}else{
			return false;
		}
	}
	
	public static boolean isValidPublisher(String publisher){
		return publisher.matches(".+");
	}
}
